home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / progtool / c / egem_210 / egem / source / proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-25  |  2.7 KB  |  116 lines

  1. #include "e_gem.h"
  2.  
  3. typedef void (*D_PROC)(DIAINFO *,GRECT *,GRECT *);
  4. typedef void (*R_PROC)(WIN *,GRECT *);
  5.  
  6. #define MAX_MSG    128
  7.  
  8. typedef struct
  9. {
  10.     int msg[8];
  11. } MESSAG;
  12.  
  13. typedef unsigned int uint;
  14.  
  15. typedef struct
  16. {
  17.     uint mode;
  18.     long index;
  19.     uint dev,reserved1,nlink,uid,gid;
  20.     long size,blksize,nblocks;
  21.     int mtime,mdate;
  22.     int atime,adate;
  23.     int ctime,cdate;
  24.     int attr,reserved2;
  25.     long reserved3[2];
  26. } X_ATTR;
  27.  
  28. #define win_iconified(win)    (win->iconified & (ICONIFIED|ICFS))
  29.  
  30. #define MAX_WINDOWS    64
  31. #define MAX_DIALS    32
  32.  
  33. #ifdef __MINT_LIB__
  34. #define CAST    (TEDINFO *)
  35. #else
  36. #ifdef __PUREC__
  37. #define CAST    (long)
  38. #endif
  39. #endif
  40.  
  41. extern    OBJECT *_menu,_alert_tree[];
  42. extern    IMAGES _radios,_checks,_arrows_down,_arrows_up,_arrows_left,_arrows_right,_cycles;
  43. extern    boolean _back_win,_nonsel_fly,_dial_round;
  44. extern    int _bevent,_bottom,_ascii,_ascii_digit,_xacc_msgs;
  45. extern  int _opened,_popup,_no_button,_ac_close,_alert_color,_min_timer;
  46. extern    WIN _windows[];
  47.  
  48. extern  char _cycle_hot,_close_hot;
  49. extern  int  _cycle,_close,_no_av_win;
  50.  
  51. extern    MESSAG _messages[];
  52. extern    int _msg_cnt,_dd_available;
  53.  
  54. extern  DIAINFO    *_dia_list[MAX_DIALS+1];
  55. extern    int    _dia_len,_last_top;
  56.  
  57. extern    int cdecl (*_icfs)(int,...);
  58.  
  59. int cdecl _default_icfs(int,...);
  60. int     _icfs_iconify(WIN *,int,int);
  61.  
  62. void    _init_dialog(XEVENT *);
  63.  
  64. boolean    _is_hidden(OBJECT *,int);
  65. int        _is_hotkey(OBJECT *,int);
  66. void    _check_hotkeys(OBJECT *);
  67.  
  68. void    _vdi_attr(int,int,int);
  69.  
  70. int        _rc_sc_savetree(OBJECT *,RC_RECT *);
  71. void     _line(int,int,int,int);
  72. void     _bar(int,int,int,int,int,int,int);
  73. void     _rectangle(int,int,int,int);
  74.  
  75. int        _get_hotkey(OBJECT *,int);
  76.  
  77. void     _beg_ctrl(void);
  78. void     _end_ctrl(void);
  79.  
  80. int        _get_top(void);
  81.  
  82. void    _set_menu(void);
  83.  
  84. void     _no_click(void);
  85. void    _mouse_pos(int *,int *);
  86. int        _mouse_but(void);
  87.  
  88. char    *_edit_get_info(OBJECT *,int,int,EDINFO *);
  89. void    _calc_cursor(DIAINFO *,EDINFO *,GRECT *);
  90. void    _set_cursor(DIAINFO *,int,int);
  91. EDINFO    *_cursor_off(DIAINFO *);
  92. void    _insert_history(DIAINFO *);
  93. int        _insert_buf(DIAINFO *,char *,int);
  94.  
  95. int        _objc_edit_handler(DIAINFO *,int,int,XEVENT *,int *);
  96. int        _next_edit(DIAINFO *,int);
  97. int        _messag_handler(int,XEVENT *,int *,DIAINFO **);
  98. void    _send_msg(void *,int,int,int,int);
  99. void     _send_puf(int,int *);
  100. void    _init_xformdo(XEVENT *,DIAINFO *,int);
  101.  
  102. void    _window_fast_mouse(WIN *,int);
  103. void    _reset_mouse(void);
  104. void    _arrow_window(SCROLL *,int,int);
  105. void    _cycle_close_window(int,int);
  106. int     _call_event_handler(int,XEVENT *,int);
  107.  
  108. void    _XAccSendStartup(char *,char *,int,int,int);
  109. void    _XAccAvExit(void);
  110. int        _XAccComm(int *);
  111.  
  112. void    _rec_ddmsg(int*);
  113. void    _scrp_init(void);
  114.  
  115. void    _clip_rect(GRECT *);
  116.